package com.example.yk_fx.live;

import androidx.lifecycle.MutableLiveData;

import com.example.yk_fx.base.BaseViewModel;
import com.example.yk_fx.entity.GiftEntity;

import java.security.PublicKey;

public class LiveViewModel extends BaseViewModel<LiveRepo> {
    @Override
    protected LiveRepo createRepo() {
        return new LiveRepo();
    }
    public MutableLiveData<GiftEntity> success = new MutableLiveData<>();
    public MutableLiveData<String> fail = new MutableLiveData<>();
    public void getGift(){
        repo.getGift(success,fail);
    }
}
